package com.mjlf.shareresource.db.dao;

import com.mjlf.shareresource.db.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName UserDao
 * @Author mjlft
 * @Date 2019/4/19 21:15
 * @Version 1.0
 * @Description TODO
 */
@Mapper
public interface UserDao {

    @Insert("INSERT INTO t_user(uid, pwd) values(#{uid}, #{pwd})")
    int save(User user);
}
